/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.entity.juhe.usedcar;

import org.hibernate.validator.constraints.Length;

import com.server.common.persistence.DataEntity;

/**
 * 聚合二手车接口车辆型号数据Entity
 * @author 丁光彪
 * @version 2017-01-06
 */
public class JuheUsedcarModel extends DataEntity<JuheUsedcarModel> {
	
	private static final long serialVersionUID = 1L;
	protected String price;		// 发布价格
	protected String year;		// 发布年份
	protected String name;		// 名称
	protected String tyear;		// 分类年份
	protected String seriesId;
	protected String maxYear;
	protected String minYear;

	public String getMaxYear() {
		return maxYear;
	}

	public void setMaxYear(String maxYear) {
		this.maxYear = maxYear;
	}

	public String getMinYear() {
		return minYear;
	}

	public void setMinYear(String minYear) {
		this.minYear = minYear;
	}

	public String getTyear() {
		return tyear;
	}

	public void setTyear(String tyear) {
		this.tyear = tyear;
	}

	public String getSeriesId() {
		return seriesId;
	}

	public void setSeriesId(String seriesId) {
		this.seriesId = seriesId;
	}

	public JuheUsedcarModel() {
		super();
	}

	public JuheUsedcarModel(String id){
		super(id);
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}
	
	@Length(min=0, max=255, message="发布年份长度必须介于 0 和 255 之间")
	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}
	
	@Length(min=1, max=100, message="名称长度必须介于 1 和 100 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}